package com.ruoyi.base.mapper;

import java.util.List;
import com.ruoyi.base.domain.MHolidays;
import com.ruoyi.base.po.NamePo;

/**
 * 员工请假Mapper接口
 * 
 * @author ruoyi
 * @date 2024-08-09
 */
public interface MHolidaysMapper 
{
    /**
     * 查询员工请假
     * 
     * @param id 员工请假主键
     * @return 员工请假
     */
    public MHolidays selectMHolidaysById(Long id);

    /**
     * 查询员工请假列表
     * 
     * @param mHolidays 员工请假
     * @return 员工请假集合
     */
    public List<MHolidays> selectMHolidaysList(MHolidays mHolidays);

    /**
     * 新增员工请假
     * 
     * @param mHolidays 员工请假
     * @return 结果
     */
    public int insertMHolidays(MHolidays mHolidays);

    /**
     * 修改员工请假
     * 
     * @param mHolidays 员工请假
     * @return 结果
     */
    public int updateMHolidays(MHolidays mHolidays);

    /**
     * 删除员工请假
     * 
     * @param id 员工请假主键
     * @return 结果
     */
    public int deleteMHolidaysById(Long id);

    /**
     * 批量删除员工请假
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMHolidaysByIds(Long[] ids);

    List<NamePo> selectNameList();

    String selectName(Long sId);
}
